import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入全局变量，方便组件调用模块API
import httpApi from './http/index'
Vue.prototype.$httpApi=httpApi

// 引入文件上传路径
import BaseUrl from './http/BaseUrl'
let UPLOADURL=BaseUrl.UPLOADURL
Vue.prototype.$UPLOADURL=UPLOADURL

// 引入elementUI组件库
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
